
package UCM;

import Views.ViewDisplayDeleteFlight;

/**
 *
 * @author Joshua King
 */
public class UCDisplayDeleteFlight implements UCController {
    private ViewDisplayDeleteFlight view;


    /**
     * Initialises the view.
     * @param view
     */
    public UCDisplayDeleteFlight(ViewDisplayDeleteFlight view) {
        this.view = view;
    }

    /**
     * Precondition: user is logged in as manager
     * 1. Users clicks on the delete flight.
     * 2. System displays make delete view.
     * Postcondition: user is on delete flight page.
     */
    public void run() {
        view.setDeleteFlightVisible();
    }
}
